library(tidyverse)
library(ggrepel)
library(knitr)
hans <- read_csv("../data/hans_roslin.csv")
hans |>
select(country, continent, year, life_exp, gdp, pop) |>
# get a random sample of rows:
slice_sample(n = 2) |>
kable()| country | continent | year | life_exp | gdp | pop |
|---|---|---|---|---|---|
| Paraguay | Americas | 1982 | 66.874 | 4258.504 | 3366439 |
| Paraguay | Americas | 1962 | 64.361 | 2148.027 | 2009813 |